<?php
	//判断是否登陆，没有登陆跳转到登陆界面
	session_start();
	if(!isset($_SESSION['adminid'])){
		echo "<script>alert('请登录！');</script>";
		echo "<meta http-equiv='Refresh' content='0;URL=index.php'>"; //跳转界面
	}
?>